package com.dobby.pea.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dobby.pea.entity.tbOrderDetail;

import java.util.List;

public interface OrderDetailService extends IService<tbOrderDetail> {

    /**
     *     根据商品的id查询出 该商品的所有订单细节
     * @param id
     * @return
     */
    List<tbOrderDetail>  OrderDetailById(Long id);

}
